package {
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.utils.describeType;import flash.utils.getQualifiedClassName;        

    public class Main extends Sprite {

		
		static public var firstCharRegExp:RegExp = new RegExp("^(.)", "");
        public function Main() {
        	
        	
        	var f:Function = reactToCompClick;
        	trace( "CLASS : " + getQualifiedClassName( this ) );
        	var xml:XML = describeType( this );
        	var thisMethods:XMLList = ( xml..accessor.(@declaredBy == 'Main').@name );
            trace( thisMethods );
        }
        
        public function get comp():Object {
        	
        	return null;
        }
        
        public function reactToCompClick( event:Event ):void {
        	
        	
        }
        
        public function reactToCompMouseOver( event:Event ):void {
        	
        	
        }
        
        private function ucfirst(body:String):String {
			var result:Object = body.match(firstCharRegExp);
			return body.replace(firstCharRegExp, result[1].toUpperCase());
			//return body.substring(0, 1).toUpperCase() + body.substring(1); 
		}
    }
}
